package com.yiqiu.system;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.bootstrap.BootstrapConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Joeywei
 * @version 1.0
 * @date 2024/11/20.
 */
@BootstrapConfiguration
@SpringBootApplication
@EnableDiscoveryClient
@Slf4j
@ComponentScan({"com.yiqiu.system", "com.yiqiu.common.mybatisplus","com.yiqiu.common.core"})
public class YiQiuSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(YiQiuSystemApplication.class, args);
        System.out.println("System模块启动成功");
    }
}
